package oa.service;

import java.util.Collection;
import java.util.Set;

import oa.domain.page.PageBean;
import oa.domain.system.Role;
import oa.util.HQLHelper;

public interface RoleService {

public Collection<Role> getAllRole();
	
	public void saveRole(Role role);
	
	public Role getRoleById(Long id);
	
	public void upateRole(Role role);
	
	public void deleteRole(Long id);

	public Set<Role> getRoleByIds(String checkedStr);

	public Collection<Role> getRoleByUid(Long uid);

	public PageBean getPageBean(HQLHelper hh, int currentPage);
}
